package com.starinside.wp.service.chat;


//import com.ruoyi.ai.domain.Template;
//import com.ruoyi.ai.domain.UserBalanceRecord;
//import com.ruoyi.ai.domain.po.CreatePO;
//import com.ruoyi.ai.listener.OpenAIEventSourceListener;

import com.starinside.wp.listener.OpenAIEventSourceListener;
import com.unfbx.chatgpt.entity.chat.Message;

import java.util.List;

public interface IQuestionService {

//    UserBalanceRecord addRecord(Long userId, String title, String content, String type, String resultContent, Integer createCount );
//
//    String addRecord(String content,String resultContent,String msg,String type);
//
//    boolean isBalanceOK(Long userId, Long platformId, int consume);
//
//    String addRecordImg(Long userId, String msg);
//    String getQuestionNoUser(String question);
//
//    List<Message> getQuestionMessages(String sysContent, String templateName, String content, String language, Integer length, Integer number);
//    String  getQuestionString(String sysContent, String content, String language, Integer length, Integer count);

    void sseQuestion(List<Message> messages, OpenAIEventSourceListener openAIEventSourceListener);

    String getSysQuestionString( List<Message> messages );

//    String toMessageStr(CreatePO po, Template template);

}
